<div class="row RowSpace" style="margin-top:0px;">
	<div class="row RowSpace" style="margin-bottom:0px;">
  		<div class="LableDiv" style="width:50px;">
  			<Btn class="BtnAdd" value="生单" ng-click="CreateDoc()"></Btn>
  		</div>
	</div>
</div>

<div class="row RowSpace">
	<div class="LableDiv">
		<Label>数据类型:</Label>
	</div>

	<div class="LableDiv">
		<Label>全部</Label>
	</div>
	<div class="InputDiv" style="width:6%;">
		<CheckBox value="All" change="LoadAll()"></CheckBox>
	</div>
	<div class="LableDiv" style="width:8%;">
		<Label>已经生单:</Label>
	</div>
	<div class="InputDiv" style="width:6%;">
		<CheckBox value="IfCreatedERPDoc" change="LoadCreatedERPDoc()"></CheckBox>
	</div>
	<div class="LableDiv" style="width:10%;">
		<Label>未生单记录:</Label>
	</div>
	<div class="InputDiv" style="width:6%;">
		<CheckBox value="NotCreatedERPDoc" change="LoadNotCreateERPDoc()"></CheckBox>
	</div>
</div>
<div class="row RowSpace">
	<div style="width:60%;padding:0px; float:left">
		<div style="color:#68BDE2;font-weight:bold;margin-bottom:5px;">出入库记录</div>
			<DataGrid module="Module.PendingBusiness" isedit="false" IsSelect="true" height="450px"  rowchange="rowChange(record)">
	  		<Column Type="DropDownList" DisplayName="单据类别" width="100px" ValueField="DocType" Enum="CreateErpDocTypeEnum"></Column>
		  	<Column Type="TextBox" DisplayName="操作人" width="100px" ValueField="RcvUser.Name"></Column>
			<Column Type="Calendar" DisplayName="入库时间" width="100px" ValueField="RcvDateTime"></Column>
			<Column Type="TextBox" DisplayName="单据编码" width="200px" ValueField="DocCode"></Column>
		  	<Column Type="TextBox" DisplayName="应用" width="200px" ValueField="AppKey"></Column>
			<Column Type="CheckBox" DisplayName="成功生成ERP数据" width="80px" ValueField="IsSuccessCreatedErpDpc"></Column>
			<Column Type="TextBox" DisplayName="失败原因" width="200px" ValueField="FailReason"></Column>
		</DataGrid>
	</div>
	<div class="LableDiv" style="width:2%;  float:left">&nbsp;</div>
	<div style="width:38%;padding:0px;  float: left;">
		<div style="color:#68BDE2;font-weight:bold;margin-bottom:5px;">明细</div>
		<DataGrid module="Module.PendingBusinessDetail" height="450px" isedit="false" IsAutoLoad="false">
	  		<Column Type="TextBox" DisplayName="存储地点" width="100px" ValueField="WhCode"></Column>
	  		<Column Type="TextBox" DisplayName="项目号" width="100px" ValueField="ProjectCode"></Column>
	  		<Column Type="TextBox" DisplayName="批号" width="100px" ValueField="LotCode"></Column>
	  		<Column Type="TextBox" DisplayName="数量" width="100px" ValueField="Qty"></Column>
		</DataGrid>
	</div>
</div>